package com.fan.service;

import com.fan.common.ServerResponse;
import com.fan.vo.CartVo;

public interface ICartService {
    ServerResponse<CartVo> add(Integer userId, Integer productId, Integer count);
    ServerResponse<CartVo> update(int userId, int productId, int count);
    ServerResponse<CartVo> deleteProduct(int userId, String productIds);
    ServerResponse<CartVo> list(int userId);
    ServerResponse<CartVo> selectOrUnSelectAll(int userId, int checked);
}
